FROM openjdk:12

ENV SOUL_KNIFE_DRIVER = "org.postgresql.Driver" \
    SOUL_KNIFE_HOST = "jdbc:postgresql://localhost" \
    SOUL_KNIFE_PORT = "5432" \
    SOUL_KNIFE_USER = "admin" \
    SOUL_KNIFE_PASSWORD = "asd" \
    SOUL_KNIFE_SCHEMA = "asd"

ADD target/stdisk-1.0-SNAPSHOT.jar /app.jar

EXPOSE 80

ENTRYPOINT ["java", "-jar", "/app.jar"]
